package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 金蝶用户对象 king_bd_user
 * 
 * @author ruoyi
 * @date 2021-04-29
 */
public class KingBdUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String name;

    /** 内码 */
    @Excel(name = "内码")
    private String fId;

    /** 编码 */
    @Excel(name = "编码")
    private String fCode;

    /** 人员编码 */
    @Excel(name = "人员编码")
    private String fIds;

    /** 手机 */
    @Excel(name = "手机")
    private String phone;

    /** 性别 */
    @Excel(name = "性别")
    private String sex;

    /** 生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birth;

    /** 公司 */
    @Excel(name = "公司")
    private String company;

    /** 公司编码 */
    @Excel(name = "公司编码")
    private String companyId;

    /** 职务 */
    @Excel(name = "职务")
    private String postName;

    /** 职务代码 */
    @Excel(name = "职务代码")
    private String postId;

    /** $column.columnComment */
    @Excel(name = "职务代码")
    private String createUser;

    /** $column.columnComment */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "职务代码", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** $column.columnComment */
    private String delFlag;

    /** $column.columnComment */
    @Excel(name = "职务代码")
    private String remarks;

    /** $column.columnComment */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "职务代码", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateUser;

    /** $column.columnComment */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "职务代码", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setfId(String fId) 
    {
        this.fId = fId;
    }

    public String getfId() 
    {
        return fId;
    }
    public void setfCode(String fCode) 
    {
        this.fCode = fCode;
    }

    public String getfCode() 
    {
        return fCode;
    }
    public void setfIds(String fIds) 
    {
        this.fIds = fIds;
    }

    public String getfIds() 
    {
        return fIds;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setSex(String sex) 
    {
        this.sex = sex;
    }

    public String getSex() 
    {
        return sex;
    }
    public void setBirth(Date birth) 
    {
        this.birth = birth;
    }

    public Date getBirth() 
    {
        return birth;
    }
    public void setCompany(String company) 
    {
        this.company = company;
    }

    public String getCompany() 
    {
        return company;
    }
    public void setCompanyId(String companyId) 
    {
        this.companyId = companyId;
    }

    public String getCompanyId() 
    {
        return companyId;
    }
    public void setPostName(String postName) 
    {
        this.postName = postName;
    }

    public String getPostName() 
    {
        return postName;
    }
    public void setPostId(String postId) 
    {
        this.postId = postId;
    }

    public String getPostId() 
    {
        return postId;
    }
    public void setCreateUser(String createUser) 
    {
        this.createUser = createUser;
    }

    public String getCreateUser() 
    {
        return createUser;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }
    public void setUpdateUser(Date updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Date getUpdateUser() 
    {
        return updateUser;
    }
    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("fId", getfId())
            .append("fCode", getfCode())
            .append("fIds", getfIds())
            .append("phone", getPhone())
            .append("sex", getSex())
            .append("birth", getBirth())
            .append("company", getCompany())
            .append("companyId", getCompanyId())
            .append("postName", getPostName())
            .append("postId", getPostId())
            .append("createUser", getCreateUser())
            .append("createDate", getCreateDate())
            .append("delFlag", getDelFlag())
            .append("remarks", getRemarks())
            .append("updateUser", getUpdateUser())
            .append("updateDate", getUpdateDate())
            .toString();
    }
}
